<!--{include file="oui/public/header.html"}-->
<!--{include file="oui/public/navibar.html"}-->
<!--{include file="oui/public/sidebar.html"}-->
<div class="header">
    <div class="stats"><p class="stat"><!--旁注--></p></div>
    <h1 class="page-title"><!--{$data.meta.title}--></h1>
</div>
<!--优雅的分隔线-->
<ul class="breadcrumb">
    <li><a>控制面板</a><span class="divider">/</span></li>
    <li class="active"><!--{$data.meta.title}--></li>
</ul>
<!--优雅的分隔线-->
<div class="container-fluid">
<div class="row-fluid">
    <!--优雅的分隔线-->
    <div class="btn-toolbar" style="margin-bottom:2px;">
        <a class="btn btn-primary" href=<!--{$data.meta.button1_link}-->>
            <i class="icon-plus"></i> <!--{$data.meta.button1_title}-->
        </a>
    </div>
    <!--优雅的分隔线-->
    <div class="block">
        <a href="#page-stats" class="block-heading" data-toggle="collapse">
            <!--{$data.meta.list_title}-->
        </a>
        <!--优雅的分隔线-->
        <div id="page-stats" class="block-body collapse in">
            <table class="table table-striped">
            <thead>
            <tr>
                <th width="30">编号</th>
                <th>产品名称</th>
                <th width="170"> 产品类别</th>
                <th width="90"> 发布日期</th>
                <th width="75">操作选项</th>
            </tr>
            </thead>
            <tbody>
            <!--{foreach name="list1" from=$data.base.Rows item=row}-->
            <tr>
                <td><!--{$row.id}--></td>
                <td><!--{$row.name|truncate_utf8:55:".."}--></td>
                <td><!--{$row.category_name}--></td>
                <td><!--{$row.datetime|date_format:"%Y-%m-%d"}--></td>
                <td>
                    <!--{assign var='list1_id' value=$row.id}-->
                    <a title="预览" target="_blank" href=<!--{Route->MakeHyperLink Application="0002" Controller="product::detail" Parameters="id:$list1_id"}-->>
                        <i class="icon-file"></i>
                    </a>&nbsp;
                    <a title="修改" href=<!--{Route->MakeHyperLink Controller=":product::edit" Parameters="id:$list1_id"}-->>
                        <i class="icon-edit"></i>
                    </a>&nbsp;
                    <a title="删除" data-toggle="modal" href="#myModal" >
                        <i class="icon-trash" data-toggle="modal" x-delete="true" href=<!--{Route->MakeHyperLink Controller=":product::delete" Parameters="id:$list1_id"}-->></i>
                    </a>
                </td>
            </tr>
            <!--{/foreach}-->
            </tbody>
            </table>
            <!--优雅的分隔线-->
            <div class="pagination">
                <input id="error" type="hidden" value=""/>
                <input id="protocol" type="hidden" value=tryPHP_<!--{$smarty.const.TRYPHP_ROUTE_PROTOCOL}-->>
                <input id="protocol-data" type="hidden" value=<!--{Route->MakeHyperlink Controller='__SELF__'}-->>
                <input id="rowCount" type="hidden" value=<!--{$data.base.Meta.RowCount}-->>
                <input id="pageSize" type="hidden" value=<!--{$data.base.Meta.PageSize}-->>
                <input id="pageCount" type="hidden" value=<!--{$data.base.Meta.PageCount}-->>
                <input id="pagination" type="hidden" value=<!--{$data.base.Meta.Pagination}-->>
                <input id="parameters" type="hidden" value=<!--{$data.urlArguments|ArgumentsToString}-->>
                <ul>
                    <li><a id="previousLink">上一页</a></li>
                    <li>
                        <span id="cycleLink">～</span>
                    </li>
                    <li><a id="nextLink">下一页</a></li>
                </ul>
            </div>
        </div>
    </div>
    <!--优雅的分隔线-->
    <script type="text/javascript" src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/trigger.list-delete.js></script>
    <!--优雅的分隔线-->
    <script type="text/javascript" src=<!--{$smarty.const.BUILD_PATH}-->/public/JEAR/jquery/plugins/jquery.pager.js></script>
    <script type="text/javascript" src=<!--{$smarty.const.APP_PATH}-->/view/oui/scripts/library/pager.js></script>
<!--{include file="oui/public/footer.html"}-->